export default {
	data() {
		return {
			shareItem: {
				title: '',
				path: '',
                linePaht: '',
                query: '',
				imageUrl: '',
				book_id: 0
			}
		}
	},
	onShareAppMessage() {
		return {
			title: '【超圳时代】' + this.shareItem.title,
			path: this.shareItem.path,
			imageUrl: this.shareItem.imageUrl,
			success(res) {
				this.$uniApi.showTips('分享成功', 'success')
			}
		}
	},
	onShareTimeline() {
		return {
			title: '【超圳时代】' + this.shareItem.title,
			path: this.shareItem.linePaht,
            query: this.shareItem.query,
			imageUrl: this.shareItem.imageUrl
		};
	},
}